package com.example.alipay_demo.prop;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "aliyun.easy")
public class AlipayConfig {
    //签名类型
    private String signType;
    //请求协议
    private String protocol;
    //应用私钥
    private String merchantPrivateKey;
    //支付宝公钥
    private String alipayPublicKey;

    // 异步通知接收服务地址
    private String notifyUrl;
    //设置AES密钥
    private String encryptKey;
    //网关
    private String gatewayHost;
    //应用id
    private String appId;
    //同步通知地址
    private String returnUrl;
}

